<template>

      <el-date-picker
        v-model="data"
        :type="value.unit"
        :format="value.format"
        :disabled="value.disabled"
        :startPlaceholder="value.startPlaceholder"
        :endPlaceholder="value.endPlaceholder"
        :range-separator="value.separator"
        :placeholder="value.placeholder">
      </el-date-picker>
    
</template>
<script type="text/javascript">
export default {
  props: {
    value: [Object, Array],
  },
  data() {
    return {
      data: ""
            // :format="value.format"
    }
  }
}

</script>
<style type="css/text" lang="scss">
.el-date-editor.el-input, .el-date-editor.el-input__inner{
  width: 100%;
}
</style>